package com.hhwy.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hhwy.domain.CableConveyorsMain;
import com.hhwy.mapper.CableConveyorsMainMapper;
import com.hhwy.service.ICableConveyorsMainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class
ICableConveyorsMainServiceImpl extends ServiceImpl<CableConveyorsMainMapper, CableConveyorsMain> implements ICableConveyorsMainService {

    @Autowired
    private CableConveyorsMainMapper cableConveyorsMainMapper;

    @Override
    public IPage<CableConveyorsMain> getpage(int currentpage, int pagesSize) {
        IPage page = new Page(currentpage,pagesSize);
        cableConveyorsMainMapper.selectPage(page, null);
        return page;
    }

}
